using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace WindowsFormsApplication1
{
    public partial class rptHosoSV : DevExpress.XtraReports.UI.XtraReport
    {
        public rptHosoSV()
        {
            InitializeComponent();
        }

        public void BindData()
        {
            colHoten.DataBindings.Add("Text", DataSource, "Hoten");
            colMasv.DataBindings.Add("Text", DataSource, "MasvID");
            colNgaysinh.DataBindings.Add("Text", DataSource, "Ngaysinh", "{0:MM/dd/yyyy}");
            colNoisinh.DataBindings.Add("Text", DataSource, "Noisinh");
            colNganhhoc.DataBindings.Add("Text", DataSource, "Tennganh");
            colMalop.DataBindings.Add("Text", DataSource, "MalopID");
            colTenlop.DataBindings.Add("Text", DataSource, "Tenlop");
            colNamvaohoc.DataBindings.Add("Text", DataSource, "Namvaohoc");
            colNamTN.DataBindings.Add("Text", DataSource, "NamTNPT");
            colNghenghiepcha.DataBindings.Add("Text", DataSource, "Nghenghiepcha");
            colHotencha.DataBindings.Add("Text", DataSource, "Hotencha");
            colHotenme.DataBindings.Add("Text", DataSource, "Hotenme");
            colNghenghiepme.DataBindings.Add("Text", DataSource, "Nghenghiepme");
            colTongiao.DataBindings.Add("Text", DataSource, "Tentongiao");
            colDatoc.DataBindings.Add("Text", DataSource, "Tendantoc");
            colDiachi.DataBindings.Add("Text", DataSource, "Diachi");
            colDienthoai.DataBindings.Add("Text", DataSource, "Dienthoai");
            colEmail.DataBindings.Add("Text", DataSource, "Email");
            colQuoctich.DataBindings.Add("Text", DataSource, "Quoctich");
            colGhichu.DataBindings.Add("Text", DataSource, "Ghichu");
            colThi_TT.DataBindings.Add("Text", DataSource, "Thi_TT");
        }

    }
}
